<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="common::head"></head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div th:replace="common::header"></div>
    <div th:replace="common::side"></div>

    <div class="layui-body">
        <div class="layui-fluid">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-header">
                            温度记录列表
                        </div>
                        <div class="layui-card-body">
                            <table class="layui-table">
                                <colgroup>
                                    <col width="150">
                                    <col width="200">
                                    <col>
                                </colgroup>
                                <thead>
                                    <tr>
                                        <th>棚编号</th>
                                        <th>位置编号</th>
                                        <th>温度</th>
                                        <th>录入时间</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr th:each="record : ${records}">
                                        <td th:text="${record.shedNo}"></td>
                                        <td th:text="${record.positionNo}"></td>
                                        <td th:text="${record.value}"></td>
                                        <td th:text="${record.entryTime}"></td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div th:replace="common::footer"></div>
</div>
<script th:replace="common::js"></script>
<script>
    //JavaScript代码区域
    layui.use(['element', 'table'], function(){
        var element = layui.element, table = layui.table;
    });
</script>
</body>
</html>